module.exports = function rPromise(filePath) {
  return new Promise(function (resolved, reject) {
    fs.readFile(filePath, function (err, data) {
      if (err) {
        reject(err)
      } else {
        resolved(data.toString())
      }
    })
  })
}
